package org.example.design.designmode.decoratorpattern.simple;

public class BaseBattercakeDecorator extends Battercake {


    private  Battercake battercake;

    public BaseBattercakeDecorator(Battercake battercake) {
        this.battercake = battercake;
    }

    @Override
    protected String getMsg() {
        return this.battercake.getMsg();
    }

    @Override
    protected int getPrice() {
        return this.battercake.getPrice();
    }
}
